﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace RenRenClient
{
    public class APIResult
    {
        //public static List<RennFeed> Parse(XDocument data)
        //{
        //    XName qualifiedName = XName.Get("feed_post", RennURL.XmlNS);
        //    var friends = from item in data.Descendants(qualifiedName)
        //                  select new RennFeed
        //                  {
        //                      //ID = item.Element(XName.Get("id", RennURL.XmlNS)).Value,
        //                      PostID = item.Element(XName.Get("id", RennURL.XmlNS)).Value,
        //                      SourceID = item.Element(XName.Get("id", RennURL.XmlNS)).Value,
        //                      FeedType = item.Element(XName.Get("id", RennURL.XmlNS)).Value,

        //                  };
        //    return friends.ToList();
        //}
    }
}
